package com.ayu.chatroom.service;

import com.ayu.chatroom.entity.FriendsRequest;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ayu
 * @since 2022-10-10
 */
public interface FriendsRequestService extends IService<FriendsRequest> {

    /**
     * 添加好友请求
     * @param myUserId myUserId
     * @param friendUserId friendUserId
     */
    void addRequest(String myUserId,String friendUserId);


    /**
     * 删除好友请求
     * @param acceptUserId acceptUserId
     * @param sendUserId sendUserId
     */
    void deleteRequest(String acceptUserId,String sendUserId);

}
